<?php
/* @var $this StaticPageController */
/* @var $model StaticPage */

$title='';
if($model->type==  StaticPage::TYPE_ABOUT){
    $title=Yii::t('main', 'About Page');
}else if($model->type==StaticPage::TYPE_CONTACT){
    $title=Yii::t('main', 'Contact Page');
}

$this->breadcrumbs=array(
	$title
);

?>


<?php echo $this->renderPartial('_form', array('model'=>$model, 'title'=>$title)); ?>